PERFORM CHECKLIST FOR OBJECT LIMBS
This command will make a list of all limbs contained in a 3D object.
PERFORM CHECKLIST FOR OBJECT LIMBS Object Number
Object Number
Integer
Specify an object number between 1 and 2415919103.
This command does not return a value.
Objects that have been loaded may contain hundreds of limbs, and are identified by number. All limbs include an internal limb description that often indicates which part of the overall 3D object it belongs to. You can access the limb description using the string item of the checklist when you have performed the check. Use the CHECKLIST commands in the SYSTEM command set to read the checklist. Be aware that most objects have at least one limb, usually the root limb that holds the initial mesh you see on screen. When referencing the limbs by number, the limb index starts at zero. This index differs from the index used to search the checklist, which has an index starting at one. Once the checklist has been created, the following data can be obtained about each limb entry within the checklist. Value A shows you the limb ID stored internally, Value B holds the parent ID of the current limb, which points to the parent limb of the current limb using the internal ID. Value C shows the internal ID of the sybling that comes next in the chain of limbs at the current hierarchy level and Value D holds the internal ID of the child limb associated with the current limb. Together, this information can be used to construct the entire limb hierarchy of the object.
sync on : sync rate 60 : hide mouse:cls 0
perform checklist for object limbs ObjectNumber
for c=1 to checklist quantity()
print checklist string$(c)
next c
while mouseclick()=0
sync
endwhile
end
BASIC3D Commands Menu
Index